package com.ww.springboot.boot.test;

import java.util.HashMap;
import java.util.Map;

public class ChineseToSymbolArt {
    private static final Map<String, String> symbolMap = new HashMap<>();

    static {
        symbolMap.put("一", "─");
        symbolMap.put("二", "║\n║");
        symbolMap.put("三", "╦\n║\n╩");
    }

    public static void main(String[] args) {
        String input = "一二三";
        StringBuilder output = new StringBuilder();

        for (char c : input.toCharArray()) {
            String symbol = symbolMap.getOrDefault(String.valueOf(c), "?");
            output.append(symbol).append("\n\n");
        }

        System.out.println(output.toString());
    }
}
